#define _CRT_SECURE_NO_WARNINGS 1
#include"Stack.h"

void StackTest1()
{
	ST st;
	StackInit(&st);
	StackPush(&st, 1);
	StackPush(&st, 2);
	StackPush(&st, 3);
	StackPush(&st, 4);
	StackPush(&st, 5);
	

	//ackPop(&st);
	//StackPop(&st);
	STDataType ret = 0;

	ret = StackTop(&st);
	printf("%d ", ret);
	StackPop(&st);

	ret = StackTop(&st);
	printf("%d ", ret);
	StackPop(&st);

	ret = StackTop(&st);
	printf("%d ", ret);
	StackPop(&st);

	ret = StackTop(&st);
	printf("%d ", ret);
	StackPop(&st);
	ret = StackTop(&st);
	printf("%d ", ret);
	StackPop(&st);
	
	




}

int main()
{
	StackTest1();
	return 0;
}